package com.dao.impl;

import com.dao.StudentsDao;
import com.entity.Student;
import org.springframework.stereotype.Repository;

@Repository
public class StudentsDaoImpl implements StudentsDao<Student> {
    public void add(Student s) {
        System.out.println("新增学生:"+s);
    }

    public void query(String identify) {
        System.out.println("查询学生编号：" + identify);
    }

    public void delete(String identify) {
        System.out.println("删除学生编号：" + identify);
    }

    public void update(Student s) {
        System.out.println("修改学生:"+s);
    }
}
